/*
 *  Menu.cpp
 *  Rempart
 *
 *
 */

#include "Menu.h"

void Menu::Render(sf::RenderTarget& Target) const {
	Target.Draw(*this->sprite);
}

Menu::Menu(){
	this->defaultTexture = new sf::Image();
	this->defaultTexture->LoadFromFile("Menu.jpg");
	this->defaultTexture->SetSmooth(false);
	this->sprite = new sf::Sprite();
	this->sprite->SetImage(*this->defaultTexture);
}


Menu::~Menu(){
	delete this->defaultTexture;
	delete this->sprite;
	printf("Menu supprimé\n");
}